package edu.ynu.e_platform.controllers;

import edu.ynu.e_platform.common.controller.LogicController;
import edu.ynu.e_platform.dao.LineItemDao;
import edu.ynu.e_platform.entities.LineItem;
import edu.ynu.e_platform.service.LineItemService;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author manwen Yang
 */
@Slf4j
@Tag(name = "line item 实体的控制器")
@RestController
@RequestMapping("/lineItem")
public class LineItemController
        extends LogicController<LineItemService, LineItemDao, LineItem, Long> {
    public LineItemController(@Autowired LineItemService ls) {
        super(ls);
    }
}
